package com.web.auth;

import javax.servlet.http.HttpSession;

public class HttpSessionUtil {
	public  synchronized static boolean  isLogin(HttpSession session) {
		Object object=session.getAttribute("isLogin");
		if(object ==null||Boolean.parseBoolean(object.toString())==false){
			 return false;			 
		} 
		return true;
	}
}
